package cn.tedu.zhyl.nurseManager.service.impl;

import cn.tedu.zhyl.nurseManager.mapper.NurseRangeMapper;
import cn.tedu.zhyl.nurseManager.pojo.dto.NurseRangeQuery;
import cn.tedu.zhyl.nurseManager.pojo.vo.NurseRangeVO;
import cn.tedu.zhyl.nurseManager.service.NurseRangeService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NurseRangeServiceImpl implements NurseRangeService {

    private static final Logger log = LoggerFactory.getLogger(NurseRangeServiceImpl.class);
    @Autowired
    private NurseRangeMapper nurseRangeMapper;

    @Override
    public List<NurseRangeVO> getList(NurseRangeQuery nurseRangeQuery) {
        List<NurseRangeVO> list =nurseRangeMapper.select(nurseRangeQuery);
        log.debug("业务查询等级结果：" + list);
        return list;
    }
}
